public class text {
    public static void main1(String[] args) {
        MySingelList mySingelList = new MySingelList();

        mySingelList.addFirst(2);
        mySingelList.addFirst(3);

        mySingelList.addLast(5);

        mySingelList.clear();
        mySingelList.display();
    }
}